Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Conversation

predator314
Copy link

Added limit to explode commands as any returned data containing additional : was being exploded to additional array elements and lost. ie. "Output: Something: Value" would only return "Something"

Removed conditions that only non-blank lines are returned in data. This was making returned data differ from what AGI actually returns and didn't match Asterisk 13- results.

Remove condition that data is only collected and returned if first Output: line is non-blank. This was causing any commands issued that returned a blank line on line 1 to return no data. ie.
"Action: Command
Command: parking show default"
would return no data since line 1 is always blank.

Added limit to explode commands as any returned data containing additional : was being exploded to additional array elements and lost.
ie. "Output: Something: Value" would only return "Something"

Removed conditions that only non-blank lines are returned in data. This was making returned data differ from what AGI actually returns and didn't match Asterisk 13- results.

Remove condition that data is only collected and returned if first Output: line is non-blank. This was causing any command issues that returned a blank line on line 1 to return no data.
ie.
"Action: Command
Command: parking show default"
would return no data since line 1 is always blank.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant